export function getAreaName(id, arr) {
  const obj = arr.find(item => item.areaId === id)
  return obj.areaName
}

export function getTypeName(id, arr) {
  const obj = arr.find(item => item.cateId === id)
  return obj.cateName
}
